package com.example.demo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.example.demo.Excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hanfei
 * @since 2020-04-08
 */
@TableName("t_d_user")
@ApiModel("用户")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId("user_id")
    @ApiModelProperty(value = "用户id")
    @ExcelColumn(value = "用户id",col = 1)
    private String user_id;
    /**
     * 用户名
     */
    @TableField("user_name")
    @ApiModelProperty(value = "用户名")
    @ExcelColumn(value = "用户名",col = 2)
    private String user_name;
    /**
     * 名字
     */
    @TableField("name")
    @ApiModelProperty(value = "名字")
    @ExcelColumn(value = "名字",col = 3)
    private String name;
    /**
     * 拼音首字母
     */
    @TableField("first_alphabet")
    @ApiModelProperty(value = "拼音首字母")
    @ExcelColumn(value = "拼音首字母",col = 4)
    private String first_alphabet;
    /**
     * 拼音
     */
    @TableField("alphabet")
    @ApiModelProperty(value = "拼音")
    @ExcelColumn(value = "拼音",col = 5)
    private String alphabet;
    /**
     * 性别
     */
    @TableField("gender")
    @ApiModelProperty(value = "性别")
    @ExcelColumn(value = "性别",col = 6)
    private String gender;
    /**
     * 手机号
     */
    @TableField("mobile")
    @ApiModelProperty(value = "手机号")
    @ExcelColumn(value = "手机号",col = 7)
    private String mobile;
    /**
     * 邮箱
     */
    @TableField("email")
    @ApiModelProperty(value = "邮箱")
    @ExcelColumn(value = "邮箱",col = 8)
    private String email;
    /**
     * 职位
     */
    @TableField("duty")
    @ApiModelProperty(value = "职位")
    @ExcelColumn(value = "职位",col =9)
    private String duty;
    /**
     * 办公室电话
     */
    @TableField("office_tel")
    @ApiModelProperty(value = "办公室电话")
    @ExcelColumn(value = "办公室电话",col = 10)
    private String office_tel;
    /**
     * 编号
     */
    @TableField("order_num")
    @ApiModelProperty(value = "编号(0经科局1街道2挂钩领导3税务等级往后)")
    @ExcelColumn(value = "编号(0经科局1街道2挂钩领导3税务等级往后)",col = 11)
    private Integer order_num;
    /**
     * 密码
     */
    @TableField("password")
    @ApiModelProperty(value = "密码")
    @ExcelColumn(value = "密码",col = 12)
    private String password;
    /**
     * 角色id
     */
    @TableField("roleid")
    @ApiModelProperty(value = "角色id")
    @ExcelColumn(value = "角色id",col = 13)
    private String roleid;
    @TableField("flag")
    @ApiModelProperty(value = "标记")
    @ExcelColumn(value = "标记",col = 14)
    private Integer flag;


    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirst_alphabet() {
        return first_alphabet;
    }

    public void setFirst_alphabet(String first_alphabet) {
        this.first_alphabet = first_alphabet;
    }

    public String getAlphabet() {
        return alphabet;
    }

    public void setAlphabet(String alphabet) {
        this.alphabet = alphabet;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String getOffice_tel() {
        return office_tel;
    }

    public void setOffice_tel(String office_tel) {
        this.office_tel = office_tel;
    }

    public Integer getOrder_num() {
        return order_num;
    }

    public void setOrder_num(Integer order_num) {
        this.order_num = order_num;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "User{" +
        "user_id=" + user_id +
        ", user_name=" + user_name +
        ", name=" + name +
        ", first_alphabet=" + first_alphabet +
        ", alphabet=" + alphabet +
        ", gender=" + gender +
        ", mobile=" + mobile +
        ", email=" + email +
        ", duty=" + duty +
        ", office_tel=" + office_tel +
        ", order_num=" + order_num +
        ", password=" + password +
        ", roleid=" + roleid +
        ", flag=" + flag +
        "}";
    }
}
